package com.jinmdz.fmis.dao.admin.model.role;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 业务角色查询数据
 *
 * @author LiCongLu
 * @date 2020-03-18 11:28
 */
@ApiModel(value = "业务角色查询数据", description = "业务角色查询数据")
public class RoleListData extends BaseBean {
    /**
     * 业务系统主键
     */
    @AnValidate(name = "业务系统主键", required = true, code = EValidateCode.GREATER_ZERO)
    @ApiModelProperty(value = "业务系统主键", name = "businessSystemId", position = 1)
    private Integer businessSystemId;

    /**
     * 角色名称
     */
    @AnValidate(name = "角色名称")
    @ApiModelProperty(value = "角色名称", name = "roleName", position = 2)
    private String roleName;

    /**
     * 角色分类
     */
    @AnValidate(name = "角色分类")
    @ApiModelProperty(value = "角色分类", name = "roleTypeCode", position = 3)
    private Integer roleTypeCode;

    /**
     * 禁用状态
     */
    @AnValidate(name = "禁用状态")
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 4)
    private Integer disableState;

    public Integer getBusinessSystemId() {
        return businessSystemId;
    }

    public RoleListData setBusinessSystemId(Integer businessSystemId) {
        this.businessSystemId = businessSystemId;
        return this;
    }

    public String getRoleName() {
        return roleName;
    }

    public RoleListData setRoleName(String roleName) {
        this.roleName = roleName;
        return this;
    }

    public Integer getRoleTypeCode() {
        return roleTypeCode;
    }

    public RoleListData setRoleTypeCode(Integer roleTypeCode) {
        this.roleTypeCode = roleTypeCode;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public RoleListData setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }
}